package cn.monkey.family.server.domain.shop.item;

import cn.monkey.family.data.Result;
import cn.monkey.family.data.context.RequestContext;
import cn.monkey.family.data.crud.CrudService;
import cn.monkey.family.data.shop.item.ItemDto;
import cn.monkey.family.data.shop.item.ItemQueryRequest;
import cn.monkey.family.data.shop.item.ItemVo;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.util.Collection;

public interface IItemService extends CrudService<String, ItemQueryRequest, ItemDto, ItemVo> {

    Result<Collection<ItemVo>> readBanner(RequestContext requestContext, ItemQueryRequest queryRequest, Pageable pageable);
}
